The Data I Thought About Before the Model

The Data I Thought About Before the Model

AI recommendation system, what I considered before the model was the data -

-Banjang Note project -specific data requirements and filtering criteria I reviewed -

1. Why I Didn’t Choose a Model First

When preparing an AI recommendation system, people often think first of collaborative filtering or deep learning models. I was also interested in what recommendation methods we could use, but the first thing I looked at in the Banjang Note project was not the algorithm—it was the data.

At the time, we had not yet accumulated the behavioral history or training data needed for recommendations. We could consider fields the service might collect, such as occupation, experience, and salary, but we had no records showing what users actually chose or what outcomes followed. In the end, we lacked the evidence needed to train a model or compare its performance.

In this situation, choosing a model first could mean having to collect the data it requires later. Conversely, if we simply stored data indiscriminately, we might miss distinctions or context needed for actual training. So I changed the order of my approach. I first examined what data was currently available, then compared the data requirements of different recommendation methods, and considered what we should record at the beginning of the service.

“Which model is best right now?” was secondary to “what data should we record so we can later compare models ? which came first.

This article does not present the implementation results or performance of a recommendation model. Instead, it shares the recommendation methods I reviewed while preparing to collect data, the decisions I made about handling mandatory criteria, and the technical issues I discovered while considering the data structure.

2. Comparing Recommendation Models from a Data Perspective

Different recommendation methods require different types of information. Comparing profile attributes, comparing behavioral patterns across users, and training on actual requests or acceptance outcomes all differ in where the data comes from. So rather than focusing on the general pros and cons of the algorithms, I looked at what data would need to be available for them to work in the Banjang Note project.

reviewed approach

required of the data core

current identified constraints

attributes based recommendations

profile, posting requirements, additional preferences items

explicit conditions but preferences describe information may be insufficient may be

collaboration filtering

person in charge–team leader between lookup·selection·request and so on interaction

user-target relationship yet accumulated and has not scarce possibility Present

Supervised learning Ranking

Recommendation at the time of Feature, subsequent request·acceptance etc. Label

what to predict and observed possible outcomes first must be distinguished must

Attribute-based recommendation: Having information doesn’t necessarily mean having a preference

Structured values such as occupation or work experience are easy to compare. But it is difficult to explain “who someone prefers” based on this information alone. For example, when two people both meet the minimum experience requirement, whether the person with more experience is necessarily chosen more often can only be determined with data.

For this reason, we considered additional factors beyond the basic profile, such as preferences for roles, work styles, and collaborative environments. We also considered using surveys to collect this information in a multiple-choice format. However, survey responses represent preferences that users have expressed themselves and must be distinguished from ground-truth data about actual behavior. That’s because we need to verify later whether the conditions people say they prefer actually lead to their choices.

Collaborative filtering: Having many users alone isn’t enough

Collaborative filtering was one of the approaches we especially wanted to explore. If multiple coordinators show interest in or request similar foremen, there may be potential to leverage similar preferences that aren’t apparent from profiles alone. To do this, we need a history that links “which coordinator interacted with which foreman.”

What we considered before the number of users was the density of the interaction matrix. If we think of coordinators as rows and foremen as columns, most of the cells are likely to be empty at first. In particular, new foremen and new coordinators have no history, and if there are few records of them interacting with the same people, it is also difficult to infer similar preferences.

Also, a recorded request may be interpreted as a signal of interest, but we can’t conclude that there was no interest just because no request was recorded. The coordinator may never have seen the candidate. With this in mind, we reviewed what data to collect while considering how to interpret the behavioral data used for collaborative filtering. We haven’t yet decided whether to apply it in practice.

Supervised learning: Behaviors that can’t be grouped under a single “correct answer”

We also considered supervised learning-based ranking models such as logistic regression and XGBoost. In this case, we can turn the job posting and foreman characteristics into Features, and use subsequent behavior as the Label. The question was which behavior to predict.

Predicting whether a coordinator will make a request and predicting whether a foreman who receives a request will accept it are two different problems. Someone who is likely to receive a request isn’t necessarily likely to accept it. If we store only the final matching outcome, it is also difficult to distinguish which of these two stages had an impact.

Therefore, rather than deciding on a single supervised learning model in advance, we concluded that recording requests, responses, and final outcomes separately would let us compare prediction targets based on the distribution and volume of data available later. That’s why we considered data collection first while exploring potential models.

3. We decided not to handle mandatory requirements with recommendation scores

While considering various models, one thing became relatively clear: requirements that must be met, such as occupation, minimum work experience, and salary, should be handled through Filtering in advance, rather than being left to a Ranking model.

For example, a candidate whose occupation differs or who doesn’t meet the minimum experience requirement isn’t eligible for recommendation, no matter how good their other attributes are. If we mix these requirements into a weighted score, candidates who fail to meet mandatory requirements could rank highly because they score well on other factors. This is a failure to meet the service’s constraints before it is even a matter of recommendation quality.

So we separated the roles: first, validate the mandatory requirements across all candidates to create a set of candidates eligible for recommendation; then, use Ranking to determine the order of the remaining candidates. Filtering determines “whether a candidate is eligible for recommendation,” while Ranking determines “which eligible candidates are shown first.”

Category

Decision Question

Current Conclusion

Filtering

Does the occupation match and experience·salary requirements are met?

Mandatory Apply as a target decision

Ranking

the conditions met candidates among who is more suitable?

with the model and sorting criteria still under review under review

This decision does not mean that a specific model has been selected. Whether using collaborative filtering, a feature-based approach, or supervised learning to rank, the required-condition filters can be applied in the same way. Conversely, passing the filters does not automatically determine the recommendation rankings of those candidates.

If required information is missing and it is impossible to determine whether the conditions are met, the candidate should not simply be treated as having passed. How to verify and handle such exceptions is a validation criterion that must be defined separately during the actual filter implementation. The design review made it clear that the domain’s required conditions must be established before considering the model.

4. Thinking about the model changed “what to record”

After reviewing model candidates and distinguishing the role of filtering, we focused not on simply expanding the data list, but on what questions each piece of data could answer. These items are currently under review in preparation for actual data collection; they have not all been incorporated into the production DB or collected yet.

Profiles and surveys: Can this information be a Feature?

Basic items such as occupation, experience, and salary are needed for filtering. In the future, they could also be transformed—for example, into the difference between required and actual experience, or between offered and desired salary—and used as model inputs. However, being usable as an input is not the same as having actual predictive power.

We considered preference surveys from the same perspective. Rather than requiring every user to complete a long survey, we should first assess whether it can capture differences that are difficult to explain using basic profile information. Even within the same worksite, people may have different roles and operating styles, so we need to evaluate whether work style or collaboration preferences are meaningful Features. Whether they are actually useful information can only be confirmed once data has accumulated.

Impressions, selections, and responses: Don’t record them as if they were the same behavior

In behavioral data, the meaning of “there is no record” was especially important. A candidate may not have been requested because they were not preferred, but it may also be because they never appeared in the recommendation list in the first place. We must also distinguish between the server having generated a list and a candidate actually having been displayed on screen.

Therefore, instead of storing only whether a final request was made, we considered linking records of recommendations generated, candidates displayed, requests made, and responses to those requests. The display ranking should also be retained, because a candidate’s chance of being selected may differ depending on whether they appear near the top or bottom of the list.

Data unit

to retain — context(proposed for review)

Why is it needed

recommendation and display

recommendation request ID, target ID, display status and Location, Timestamp

who actually to be selected the opportunity whether they had distinguish

request

posting·person in charge·foreman identifier, request timestamp

selection action recommendation exposure and connection

response

request identifier, acceptance·rejection·no response status, response timestamp

not requested not and cases declined cases separate

recommendation timestamp condition

required condition, key Profile value or data version, recommendation policy version

later changed information past recommendations incorrectly interpret so as not to do so

For example, labeling a case as “not preferred because they didn’t request it” based only on past request history can introduce errors into the training data. The same applies to treating cases where the manager was never actually asked as “rejected.” To define negative examples when training a model later, we need to be able to distinguish, at a minimum, between observed behavior and a state that was not observed.

State at the time of recommendation: values that changed later cannot be used to explain the past

User profiles and hiring requirements can change over time. If we analyze a recommendation from several weeks ago using only the currently stored work experience or desired salary, we risk explaining the outcome using values that differ from those actually used at the time. For this reason, we also included in our review whether it would be possible to reproduce the requirements and policies applied at the time of recommendation.

Whether to store every value redundantly or manage change history through versioning depends on the actual storage structure. But whichever approach we choose, the principle remains the same: we must be able to correctly link the Features at the time of recommendation with Labels generated later. This was a point where we needed to clarify the meaning of the data before considering the model structure.

5. What We’ve Decided and What Remains Undecided

The clearest decision we’ve made so far is to separate mandatory requirements into pre-filtering. Candidates who do not meet the requirements for job type, experience, or salary are not eligible for Ranking, and this rule should remain in place even if the algorithm used to determine recommendation order changes.

On the other hand, we have not yet decided how to order candidates who pass the filter. Attribute-based recommendation may be suitable, or we could consider collaborative filtering once enough interactions have accumulated. Once actual request and acceptance cases have built up and the meaning of the Labels is clear, we could also compare supervised-learning-based ranking. It is difficult to determine which method is appropriate without first examining the actual data.

We are not yet at a stage where we can present model training results or performance improvements. As we prepare to collect data, we are reviewing the information required by each recommendation approach and the meaning of each event. Once data collection begins, rather than simply counting records, we first need to check how much user-level interaction overlaps, how request and response data are distributed, and whether there is missing data or exposure bias.

Based on that analysis, we may adjust the data we need to collect, and we may even conclude that the model we initially had in mind is unsuitable. I thought it was especially important at this early stage to remain open to that possibility. Rather than filling in what we don’t yet know with arbitrary scores or model names, we needed a structure that would preserve the evidence required to make decisions later.

6. Conclusion

When starting this work, it might be easy to assume that choosing a recommendation algorithm would be the biggest challenge. In practice, though, the first question we faced was about the data. We began by examining what information was currently unavailable and which models could not be evaluated without it.

In the process, we considered the potential of collaborative filtering and supervised-learning-based recommendation, and decided to separate mandatory requirements from Ranking. We also confirmed that data we can use in the future must consist not just of request or matching outcomes, but of records linking events with different meanings, from recommendation exposure through to response.

We do not yet have results demonstrating the performance of an actual recommendation model. However, from the design stage, we were able to account for the fact that how we record data will determine which models we can compare and which questions we can evaluate in the future.

Data without a recommendation system first - technical choice, what model to use but what to observe and record to decide was.

Yeon

Site footer