Traversing High-Level Intent and Low-Level Requirements

[ engineering datascience misc ] · 6 min read

Have you noticed how, when given a nebulous high-level intent, some people run with it and break it down into smaller problems, while others freeze and don’t know how to begin? On the other hand, when given a detailed 10-page product requirements doc, the former grumbles that it’s too specific while the latter checks the boxes off chirpily?

Why does this happen? I try to answer by distinguishing between high-level intent and low-level requirements and discuss a few factors that influence when to use which.

High-level intent vs. low-level requirements

High-level intent excludes the details and focuses on the “why” and “what” while low-level requirements dive into the “how”. Put another way, intent zooms out on the big-picture forest while requirements zoom into the detail trees.

Consider programming languages. Low-level languages such as assembly provide little abstraction from computer instructions; we work with machine language and primitives. In contrast, high-level languages like python provide a lot of abstraction and let us write instructions that generate machine instructions. Low-level languages are closer to the machine; high-level languages are closer to the user. Similarly, low-level requirements are closer to technical details while high-level intent is closer to business goals.

Low-level requirements define how the product should work. Functional aspects include the customer experience, input/output, and user interface mocks. Non-functional aspects include expectations on latency ([email protected]), scalability (8,000 queries per second), and security (AAA certified). Some examples I found online are Ohio State University’s sample requirements doc and the Federal Demonstration Partnership’s (FDP) requirements for an expanded clearinghouse. The latter includes low-level requirements such as:

  • Public has read-only access via website
  • User accounts are password protected
  • Password reminders and resets are handled by the website
  • Authorized users can update the entity’s profile directly on the website
  • The system is intended to be available online 24 hours per day, 365 days per year with the exception of scheduled and pre-notified system maintenance downtimes, if needed.

High-level intent communicates the expected outcome (what) and rationale (why). Specifying only the outcome is sometimes not enough; it must be paired with the rationale for context. For example, the outcome of introducing new products on an e-commerce platform requires different approaches for different rationales. If the reason is to increase novelty from the customer’s perspective, we consider metrics such as diversity and serendipity. If the reason is to increase seller health from the marketplace’s perspective, we might consider metrics such as count of sellers with at least x sales in the past week and proportion of sellers making up y% of sales.

Intent statements can be as simple as a sentence, but don’t let their lack of verbosity fool you—often, it’s the requests that are concise that suggest the most challenging projects.

What does high-level intent look like in a document? One example is the goal and tenets section in an Amazon 6-pager. Goals define expected outcomes with quantifiable metrics and timelines. Tenets guide decision-making; they get everyone to agree on critical questions that can’t be verified by data. Here are some examples of Amazon’s businesses and their tenets:

  • Fulfillment by Amazon — Sellers are our customers: FBA simplifies Sellers’ lives — whether they sell locally or globally.
  • Information Security — Security is measurable: We produce and communicate metrics on the effectiveness of our security programs.
  • AWS Internet-of-Things — Necessary offline operations: We help customers build systems in the cloud that work in predictable ways when connectivity is limited.

Why either works better and when

There are three factors to consider when deciding whether to communicate high-level intent or low-level requirements: (i) the context and experience of the executor, (ii) the uncertainty of the situation, and (iii) the maturity of the profession.

The context and experience of the executor are usually—but not always—positively correlated with developer seniority. Junior developers tend to have less context and experience and may struggle to break down high-level intent into smaller problems and project phases. Thus, they may require more guidance via tightly spec-ed requirements lest they go in the wrong direction. Test-driven development is an example of this. Passing all test cases ensures all requirements are met.

On the other hand, senior folks have more context of the business and tech environment, and the experience of tackling similar problems previously. They instinctively know the implicit requirements without you having to specify them, and often relish the opportunity to flex their critical thinking and design skills to achieve your intent most effectively. On the other hand, overly specific requirements may seem like following a step-by-step instruction manual and take the fun out of it.

The uncertainty of the situation can be attributed to the knowledge gap (the difference between what we want to know and what we actually know) and the effects gap (the difference between what we want our actions to achieve and what they actually achieve).

For example, at the start of the year, we only have a high-level intent to “increase customer engagement by 10%”. We’re uncertain how our engagement metrics—page views, conversion, daily average users, net promoter score—compare with the rest of the industry, and don’t know which are easier to improve or the levers at our disposal. This knowledge gap suggests that we shouldn’t be overly specific on requirements given the environmental uncertainty.

We then decide that daily average users (DAU) is an important metric and hypothesize that more push notifications lead to higher DAU. Thus, we build a feature to notify users when items in their wishlist or cart drop in price. But our hypothesis is wrong. What we thought would be helpful is instead perceived by customers as annoying, causing them to stop push notifications or delete the app. This effects gap cautions us from dictating how an outcome should be achieved (in our requirements) when the relationship between actions and outcome is uncertain.

The maturity of the profession has an impact on the situation’s uncertainty. Compare software engineering and data science. Software engineering is a mature discipline with well-defined problems and design patterns that map well to outcomes. Need a feature store? The standard approach is to use a key-value store like Redis or DynamoDB. Want to improve latency? We have known strategies (e.g., caching, optimizing VPCs) and trade-offs (e.g., vertical vs. horizontal scaling).

In contrast, data science is younger and doesn’t have similar patterns (yet) for analysis and machine learning. How would we write low-level requirements for an analysis on where to build the next ten Apple stores, or how to allocate marketing spend across various offline and online channels? How would we know whether supervised classification, outlier detection, or graph clustering is the right approach for fraud detection? We can’t foresee what analysis we need or what techniques will work until we dive into and learn about the data. Thus, iterating on high-level intent statements tends to work better.

• • •

To sum up, if the executor doesn’t have sufficient context and experience, detailed and low-level requirements can help to provide guardrails and ensure success. On the other hand, if they see the big picture and have tackled similar problems before, it’s likely more effective to provide a high-level intent and let them research the problem and define the low-level requirements.

Conversely, if the situation is uncertain, or the profession (still) more art than science, requirements that are too low-level and specific can prevent the team from exercising their initiative and iterating quickly. Thus, we’re better off accepting the uncertainty, communicating the high-level intent, and empowering the team to assess, decide, and act.

Finally, while I’ve been discussing high-level intent and low-level requirements as binary concepts, they’re not. Adjust the level of detail to the situation. One way to help people grow is to start by giving them high-level intent so they can learn to break it down into smaller pieces, and only adding details for guidance as needed.

Thanks to Alexey for initial chats on this, and to Xinyi and Swyx for reading early drafts.

Share on:

Browse related tags: [ engineering datascience misc ]

Join 3,200+ readers getting updates on data science, ML systems, & career.

    Welcome gift: A 5-day email course on How to be an Effective Data Scientist 🚀