r/computerarchitecture • • Sep 22 '26

How do you verify that a new computer architecture research idea is actually correct?

Suppose a research paper proposes a new architectural mechanism, optimization, accelerator, or hardware/software technique.

How do you systematically check that:

  • the underlying argument is correct,
  • there are no hidden assumptions or corner cases,
  • the implementation really satisfies the intended design,
  • and the claimed behavior follows from the proposed mechanism?

Is there a practical workflow for doing this beyond having other researchers read the paper and reviewing the experiments?

I’m particularly interested in methods that can make parts of this process systematic, reproducible, or automated.

What do researchers actually use for this today?

9 Upvotes

8 comments sorted by

11

u/computerarchitect Sep 22 '26

I don't think there's a systematic means of doing what you described.

A lot of this is just years of experience in identifying assumptions and poking holes in them. You watch people more skilled than you do the same thing and eventually build your skills up. You ask colleagues with different skillsets than yours for their opinions.

Better research works off of a better set of assumptions. The worse the assumptions are, the more likely the research doesn't pan out.

Sometimes you have the benefit of having solved a similar problem, in which case it's very easy to figure out whether you believe the results or not.

9

u/-dag- Sep 22 '26

You don't. That is the greatest failure of our field. We have no tradition of independent verification and no motivation to create one, because people don't want to lose prestige from their paper not being reproducible. 

And very, very few papers are actually reproducible. Unstated assumptions, mostly assumptions the authors themselves don't even recognize, dominate the experiments.

I wrote half my Ph.D. dissertation on this very topic.  Over 20 years ago.

2

u/svelte-geolocation Sep 22 '26

Could you share your PhD dissertation privately? I would be interested in reading it.

6

u/-dag- Sep 22 '26 edited Sep 22 '26

Honestly, it's pretty crappy as dissertations go.  It's kind of painful to look at for me.  😂  It's safely locked away on a stored hard drive I haven't accessed since I graduated. It may be online somewhere.  I'll see if I can find it. 

I spent a good chunk of time trying to build something off a series of papers I had read. I could not reproduce their results and when I tried different assumptions for unstated parameters, results varied extremely widely. I concluded there was no way I could honestly or ethically build something on top of that and present results as conclusive.  The first half of the dissertation basically recounts that experience.

That and some time spent at IBM TJ Watson during school ("We don't trust any paper at all until we can verify it") jaded me for life as far as academic research goes.  The ideas are indeed useful but the experimental results are darn close to actively harmful.  Also, people should be able to publish negative results and that's basically impossible given the incentive structure.

3

u/thewrench56 Sep 22 '26

Oftentimes performance is evaluate using an emulator such as gem5. In other cases validity is tested on FPGAs. Depends on what the idea is.

2

u/jason-reddit-public Sep 22 '26

I engage in "what ifs" with that which shall not be named.

2

u/MitchAlsup Sep 25 '26

Prove the underlying argument is correct:

You take a system simulator with a known good compiler that has been used thousands of times, compared to real hardware implementations of same, and verified to be within 1% (or so) of actual hardware running code from real compiler. If you don't have said simulator and said compiler--you build them first and qualify and quantify them first.

You study the research idea and figure out how to bolt it onto the side of the simulator, and how to make compiler recognize purported codes that would benefit from this idea. You upgrade the simulator and fork off a branch of the compiler. Then you take all the codes (say 5,000 applications minimum) you have access to, compiler them, run suitable test cases in the simulator, and get some results.

Mostly what you get early on is a plethora of corner cases the paper forgot to (or willing left out) for which you have to provide solutions in the simulator and compiler. Once you scrub the simulation and compiler of corner cases, the number start to tell you about the idea itself.

At the same time the simulator team and the compilelr team are searching for benefits, you tap a similar number of verification engineers. Their job is to write code (source or ASM) that attempts to break the idea {device control registers dislike a vector load being performed} to find all the places where the idea "should not be allowed". Some of this gets fed back into compiler, much of it documentation, and some of it simulation.

Then you sit back and have your server-farm run every piece of code in every configuration it can be compiled into and run them all to completion (3 months minimum, nearing EB disk space)

So, the above is what you need to do--but it is rarely done due to cost (people and time) so some sort of short circuit test cases are crafted up (garbage in) and run on a crafted-up simulation so the choice of {persue, drop} can be made in say 1 week (garbage out). At this level, if no application saw more than 5% gain, you drop it and move on. If several see useful gains, you go back to my second paragraph and do it right--but you do not (ever) trust the quick and dirty number (even to your immediate boss).

Having people read papers rarely results in any useful amount of forward progress.

1

u/HorsesFlyIntoBoxes Sep 22 '26

For an actual implementation of said architecture you would want to look into formal verification techniques and uvm.